<%-- 
    Document   : listarAulas
    Created on : 22/02/2013, 09:39:17 AM
    Author     : karolyn
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>LISTA DE AULAS</title>
    </head>
    <body>
        <h1>Aulas</h1>
        <table>
            <th>Código</th>
            <th>Denominación</th>
            <th>Activo</th>
        <c:forEach items="${aulas}" var="t">
            <tr>
                <td>${t.codAula}</td>
                <td>${t.descAula}</td>
                <td>${t.activo}</td>
                <td><a href ="controlador?operacion=eliminaraula&codigo=${t.codAula}">Eliminar</a></td>
            </tr>
        </c:forEach>
        </table>
        <a href="index.jsp">Inicio</a>
    </body>
</html>
